# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=caja-extensions
pkgver=1.28.0
pkgrel=0
pkgdesc="Set of extensions for Caja file manager"
url="https://github.com/mate-desktop/caja-extensions"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	caja-dev
	dconf-dev
	glib-dev
	gst-plugins-base-dev
	gtk+3.0-dev
	intltool
	mate-desktop-dev
	"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/caja-extensions-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-sendto \
		--enable-wallpaper \
		--enable-open-terminal
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
0be8e31efa766ebf6a5dd1bacaac7f95fb6d30681e897f57a280d5537b4e9560f3c852087723388d200f602c9a1e685dea3afe5738289046a23f40bca9765142  caja-extensions-1.28.0.tar.xz
"
